/*    */ package com.cr.business.service.impl;
/*    */ 
/*    */ import com.cr.business.domain.CrDebtTransaction;
/*    */ import com.cr.business.mapper.CrDebtTransactionMapper;
/*    */ import com.cr.business.service.ICrDebtTransactionService;
/*    */ import com.cr.common.core.text.Convert;
/*    */ import com.cr.common.utils.MyDateUtils;
/*    */ import java.util.List;
/*    */ import org.springframework.beans.factory.annotation.Autowired;
/*    */ import org.springframework.stereotype.Service;
/*    */ 
/*    */ @Service
/*    */ public class CrDebtTransactionServiceImpl implements ICrDebtTransactionService {
/*    */   @Autowired
/*    */   private CrDebtTransactionMapper crDebtTransactionMapper;
/*    */   
/*    */   public CrDebtTransaction selectCrDebtTransactionByTransactionId(Long transactionId) {
/* 33 */     return this.crDebtTransactionMapper.selectCrDebtTransactionByTransactionId(transactionId);
/*    */   }
/*    */   
/*    */   public List<CrDebtTransaction> selectCrDebtTransactionList(CrDebtTransaction crDebtTransaction) {
/* 45 */     return this.crDebtTransactionMapper.selectCrDebtTransactionList(crDebtTransaction);
/*    */   }
/*    */   
/*    */   public int insertCrDebtTransaction(CrDebtTransaction crDebtTransaction) {
/* 57 */     crDebtTransaction.setCreateTime(MyDateUtils.getNowDate());
/* 58 */     return this.crDebtTransactionMapper.insertCrDebtTransaction(crDebtTransaction);
/*    */   }
/*    */   
/*    */   public int updateCrDebtTransaction(CrDebtTransaction crDebtTransaction) {
/* 70 */     crDebtTransaction.setUpdateTime(MyDateUtils.getNowDate());
/* 71 */     return this.crDebtTransactionMapper.updateCrDebtTransaction(crDebtTransaction);
/*    */   }
/*    */   
/*    */   public int deleteCrDebtTransactionByTransactionIds(String transactionIds) {
/* 83 */     return this.crDebtTransactionMapper.deleteCrDebtTransactionByTransactionIds(Convert.toStrArray(transactionIds));
/*    */   }
/*    */   
/*    */   public int deleteCrDebtTransactionByTransactionId(Long transactionId) {
/* 95 */     return this.crDebtTransactionMapper.deleteCrDebtTransactionByTransactionId(transactionId);
/*    */   }
/*    */ }


/* Location:              D:\tmp\creditorRights-admin\BOOT-INF\lib\creditorRights-business-4.7.0.jar!\com\cr\business\service\impl\CrDebtTransactionServiceImpl.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */